# Makefile for the socket programming example
#

server_objects = ServerSocket.o Socket.o Server.o


all : server

server: $(server_objects)
	g++ -lpthread -o sem_server $(server_objects)

Socket: Socket.cpp
ServerSocket: ServerSocket.cpp
ClientSocket: ClientSocket.cpp
Server: Server.cpp


clean:
	rm -f *.o sem_server
